home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / dblmon.exe / DUALMON.H < prev    next >
C/C++ Source or Header  |  1992-06-15  |  2KB  |  54 lines

  1.  
  2. /*
  3.  * DUALMON.H - Nice little include file for a simple system to output to
  4.  * a monochrome monitor setup as a secondary monitor.
  5.  *
  6.  * DUALMON.H was surgically extracted from BUGOUT (without pain killers) by:
  7.  *
  8.  *   Mark R. Holbrook
  9.  *   805-964-4471
  10.  *   76436,1224 Compuserve
  11.  *   76436.1224@compuserve.com
  12.  *
  13.  * You may use and distribute this program freely.  In fact, you can even
  14.  * modify this program at any time if you have an editor.  Hell for all that
  15.  * matters, you can even compile this program if you have a compiler.  If we
  16.  * are going to go this far, you can even delete it or convert it to COBOL!
  17.  * All I ask is that my name be kept with it and if you
  18.  * make any neat changes to it.  Please update the version number and
  19.  * send a copy back to me!
  20.  *
  21.  * If you really insist on sending me money for this.. this.. thing, well
  22.  * I guess I could make an exception...  Let's discuss it!
  23.  *
  24.  * See DUALMON.C for revision information.
  25.  *
  26.  * You may include this include file anywhere at any time!
  27.  */
  28.  
  29. /* Only allow include once */
  30. #ifndef DUALDEFS
  31. #define DUALDEFS
  32.  
  33. /* Need DOS.H */
  34. #include  <dos.h>
  35.  
  36. /* Needed global variable */
  37. #ifdef  DUALMAIN
  38.         unsigned  int   far   *Mono = MK_FP(0xb000,0);
  39. #else
  40. extern  unsigned  int   far   *Mono;
  41. #endif
  42.  
  43. /* Function prototypes */
  44. void  ScrollMono( unsigned int Lines );
  45. void  ClearMono( void );
  46. void  PrintToMono( unsigned int   Row,
  47.                    unsigned int   Col,
  48.                    unsigned int   Att,
  49.                             char  *Fmt, ... );
  50.  
  51.  
  52. #endif  /* DUALDEFS */
  53.  
  54.